package com.cci.kangdao.task;

import com.cci.kangdao.fieldService.service.SyncProcessor;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author William Du
 * @date 2020/1/11
 */
@Component
public class FieldServiceTask {

    @Resource
    private SyncProcessor syncProcessor;

    public void workOrderExceptionSynchronization() {
        syncProcessor.syncRetry();
    }
}
